package ua.tyran53red.history;

public class HistoryObject {
	private String user;
	private String time;
	private String text;

	public HistoryObject(String user, String time, String text) {
		this.user = user;
		this.time = time;
		this.text = text;
	}

	public String getUser() {
		return user;
	}

	public String getTime() {
		return time;
	}

	public String getText() {
		return text;
	}

	public String toString() {
		return user + " - " + time + "\n" + text
				+ "\n--------------------------------------------------------------------------------\n";
	}
}
